import re
from selenium import webdriver
from selenium.webdriver.common.keys import Keys

browser = webdriver.PhantomJS()

browser.get('http://www.hhxiee.cc/xiee/1816933/129502.htm?s=2')

r = browser.page_source
##print(r)

a = re.search('name="ComicPic" src="(.*?)"><script>',r,re.S).group(1)
print(a)

browser.get('http://www.hhxiee.cc/xiee/1817334/124330.htm?s=5')
r1 = browser.page_source
a1 = re.search('name="ComicPic" src="(.*?)"><script>',r1,re.S).group(1)
print(a1)


